﻿<?xml version="1.0" encoding="utf-8"?>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  <EntityContainerMapping StorageEntityContainer="Хранилище ModelContainer" CdmEntityContainer="Entities">
    <EntitySetMapping Name="AuthorizationStorageManager">
      <EntityTypeMapping TypeName="Model.AuthorizationStorageManager">
        <MappingFragment StoreEntitySet="AuthorizationStorageManager">
          <ScalarProperty Name="account_ID" ColumnName="account_ID" />
          <ScalarProperty Name="login" ColumnName="login" />
          <ScalarProperty Name="password" ColumnName="password" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="ManufacturedMachines">
      <EntityTypeMapping TypeName="Model.ManufacturedMachines">
        <MappingFragment StoreEntitySet="ManufacturedMachines">
          <ScalarProperty Name="machine_ID" ColumnName="machine_ID" />
          <ScalarProperty Name="typeMachine_ID" ColumnName="typeMachine_ID" />
          <ScalarProperty Name="nameMachine" ColumnName="nameMachine" />
          <ScalarProperty Name="photo" ColumnName="photo" />
          <ScalarProperty Name="makingDate" ColumnName="makingDate" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
    <EntitySetMapping Name="TypeMachine">
      <EntityTypeMapping TypeName="Model.TypeMachine">
        <MappingFragment StoreEntitySet="TypeMachine">
          <ScalarProperty Name="typeMachine_ID" ColumnName="typeMachine_ID" />
          <ScalarProperty Name="name" ColumnName="name" />
        </MappingFragment>
      </EntityTypeMapping>
    </EntitySetMapping>
  </EntityContainerMapping>
</Mapping>